<?php

class M_Disciplina extends CI_Model {

    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }
    
    function getDisciplinaList() {
        $this->em->createQuery('SELECT d FROM models\Disciplina d');
        return $query->getResult();
    }

}

?>
